'Declaration
Public Overloads Shared Function Apply( _ ByVal worksheet As IWorksheet, _ ByVal ranges() As Reference, _ ByVal styleName As String _ ) As CellStyleCommand
'Usage
Dim worksheet As IWorksheet Dim ranges() As Reference Dim styleName As String Dim value As CellStyleCommand value = CellStyleCommand.Apply(worksheet, ranges, styleName)
public static CellStyleCommand Apply( IWorksheet worksheet, Reference[] ranges, string styleName )
Parameters
- worksheet
- The worksheet which this command attached to.
- ranges
- The GrapeCity.Spreadsheet.Reference array represents the ranges of cells will be applied.
- styleName
- The name of style is to apply to the specified ranges.